<?php namespace Admin\Controller;
use Hdphp\Controller\Controller;
class CommonController extends Controller {
	public function __construct() {
		parent::__construct();
		if (!isset($_SESSION['info'])) {
			go(U('Login/index'));
		}
		if(method_exists($this, '__auto')){
			$this->__auto();
		}
	}

}
?>